package com.huihui.vueadminapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huihui.vueadminapi.entity.SysRole;
import com.huihui.vueadminapi.entity.SysUser;

import java.util.List;

/**
 * 用户表(SysUser)表服务接口层
 *
 * @author liyonghui
 * @since 2022-04-14 14:09:17
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getByUserName(String userName);

    String getUserAuthorityInfo(Long userId);

    void clearUserAuthorityInfo(String username);

    void clearUserAuthorityInfoByRoleId(Long roleId);

    void clearUserAuthorityInfoByMenuId(Long menuId);

}

